package com.ylbh.modules.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylbh.common.exception.NormalException;
import com.ylbh.common.pojo.member.dto.ShoppingVoucherRechargeListDTO;
import com.ylbh.common.utils.PageUtils;
import com.ylbh.modules.business.entity.ShoppingUser;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ShoppingVoucherRechargeService extends IService<ShoppingUser> {

    /**
     * 购物券充值记录
     * @param rechargeListDTO
     * @return
     */
    PageUtils queryShoppingVoucherRechargeList(ShoppingVoucherRechargeListDTO rechargeListDTO);

    /**
     * 系统管理积分
     * @param rechargeListDTO
     * @return
     */
    PageUtils querySysManagementIntegral(ShoppingVoucherRechargeListDTO rechargeListDTO);

    void rechargeExcel(HttpServletRequest request, HttpServletResponse response) throws NormalException;
}
